Initialize lastFrameTime to current time

Fixes issue #399.