prevent invisible fragments from capturing mouse events #845