small fix for frameless mode