Attempting to capture a single window on MacOS results in a null pointer reference in `get_target_dimensions` in`targets/mac/mod.rs`.