Bug 981794 - Fix incorrect clipping of tiles. r=Bas