Stop the OG and FG cursor moving when changing a value