Prevent focussing invisible elements