add FreeLayout to submenu and speed up drawing of FreeLayout