There is no need to implement a workaround since this seems to be a standard Windows feature for windows without titlebars. If you are creating windows without titlebars then you will need to cater for how they work under Windows.