Panning is implemented and background changing is optimized.

Current problem is that entities drawn to foreground canvas are
staying still when compared to changing background canvas.