Fix glTextureStorage2D issue by scaling w/h. Fixes #5625