Restore cursor if opening file fails.
Fix floatlabel hide event handling.