fixed input bugs + fixed mouse bug
fixed input bugs/merged