For some crazy reason, having this breaks the app

I am unable to move the canvas around with spacebar
when I include <!DOCTYPE html> at the beginning of
the index. I have no idea why.