Fixed problems with heightmap and sphere