Removed isPowerOfTwo custom fct

WebGLRender updated