Properly setup application cursor (#10926)