Fix possible issue with native cursor in flash