Fixed bug in textures loading

It was reseting base path to assets after changing orientation. Also
changed methods to handle rotations and other stuff