fix mouse enabled in ViewBase