Update logic_ticks when game is paused

Closes #1321

This was missing from 9b0e128. I hadn't tested that commit on a slow system, so the bug wasn't actually fixed. I have tested this commit on my netbook (where I could reproduce the issue) and it is completely gone.