fixed issue with texture size