Removed all variable allocation inside the OnDraw to prevent the DrawAllocation issue on low memory devices.