Fix crash when game tries to draw invalid pic