Strange "setFullscreen" behaviour

when trying to full screen an app, everything works fine with 1 monitor. with 2 displays(dual monitor) the fullscreen is offset by roughly half of the title bar height.

here’s my code

    auto peer = Desktop::getInstance().getComponent(0)->getPeer();
	peer->setFullScreen(true);