setBounds(...) cannot be called from paint. Removed from LineSelection.