added scaling, mirroring for tiles and npcs rendering methods;