mac: Fix installing view on frameless window

Closes #601.