modified mouse handling so that holding down also draws