iOS input resets