fixed some mouse issues