Optimized drawing of tiles for foreground layer, only tiles appearing on screen are drawn, rest is shifted on bitmap