Enable mouse only on GUI