added setTimeout hack to player render function now that render is only called once