Quick fix for infinite recursion when switching modes with a draw cycle.

When switching from an accelerated to a software video mode, the code to
build a software surface from a hardware one is buggy and will need a
better fix.