Fixed bugs (added localization before putting the block down)