[Bug 2603] Strange failure in opengl mode