fix build error for multiwindow