Last fix for autotiles generation.

Now rendering 100% like RPG Maker.