Fix OgreEngine::update() to use RAII StateLock

See #25