refactoring some code
able to display top again
fixed bug in setTextureRect
map now shows depth