Fixes helicopter demo to not generate new blocks when the pentagine window is not focused.
Fixes helicopter demo to not generate new blocks when the pentagine window is not focused.

davidgomes/pentagine.js,davidgomes/pentagine.js