OpenGL stops animating after title bar is dragged

I created a simple test app that just rotates a white circle in front of a blue background. It works fine until I drag the title bar of the window around. Within a second or so of dragging, the animation stops. I know the draw function keeps getting called, because I'm seeing FPS info in the logs. What could cause animation to stop, though?