Removed object allocations from onDraw to optimize performance.