I try to have a rect which moves with the mouse pointer. However, I seem to have a problem with calling the paint method. It either doesn\'t draw or creates artifacts. The o