add basic frame for frameless mode