middle mouse button does not affect magnet
debug output removed