Fixed an issue with the updated rust-cocoa crate