fix maze sample
gl: add reshape callback