DolphinWX: Fix input window randomly crashing on OSX