fix friction and fix mouse