Fixed a bug where a new block would be delayed when dragging.