This reverts commit 65587ef43a. It introduced sublte bugs in its interaction with OpenGL and glutin, so we should better revert it for now.
65587ef43a