Added some classes to assist with drawing issues with the osmdroid canvas.