reworked the painting mechanism to use sprites instead of actual pixels