Linux VST: Pass mouseevents to host window

I’m having an issue where the plugin will not pass mouse events to the host when the editor has focus (i.e. was clicked).

For example I can’t activate play by using the spacebar.

This seems to happen only on linux, Windows seems to be fine (can’t test Mac right now).

Any idea what might be the issue here?