Fixes #68
I don't know exactly why, but the problem seems gone and I made all calls to draw_frame go through change_frame, since that does some checking whether it actually should