Ok, could you please try to remove this line from index.html:
window.addEventListener('orientationchange', resize_game_canvas, false);
It is weird though, I’ve tried two different iPhones and I’m unable to reproduce the problem as seen in the video you sent me.