Fix texture warping

ToDo: fix rendering scale