http://webglfundamentals.org/webgl/lessons/webgl-anti-patterns.html #3: Using window.innerWidth and window.innerHeight to compute anything