Slightly optimized field of view computation
Fixed bug in field of view computing