Make draw loop of canvas look like WebGL one
Fixing broken session heartbeat