Put a stop(); in the last frame.