Bug fixing for user frame toggle