Switched to new PaintMap class (Thanks archSeer)