Collision work for tmx maps