Allow user to set onlyMouseEnabled