Simplify the 'mouseout' if-clause