Render frame when crossing frame-size boundary, fixes #3