Added bounds to throttle_input in hover function.