Work around bug introduced by last commit

This workaround was suggested by @cmr in
https://github.com/gfx-rs/gfx-rs/issues/204.