Bug fix when changing language while editing block