Update scene.js

Fixing bug in hud toggle logic