mouse capture fix