Fixed window being empty when no newFrame() call was used in the script