fix field of view computation in setWindowSize