fixed the applyRGBFilter function
[#537] fixed the getTile function returning wrong tile when using isometric map