Fixing cursor bug when drawing arrows in scaled mode and enabled a default filename