Fixed the randomly appearing block bug.