fix FBTests window cannot be displayed