did you remove something around imgui end render?