throw error if try to use texture with width and hieght not power of two for tiled sprite