Implemented dual-directional background tiling.