fg_cursor is a much better place for code reading the mouse position