Fixed Paint

Only tested Tiles. But it should work now.