Fix the bug of screen transition after getting a ship or item.