Fixed FireFox specific bug related to collision tiles.