Moved calculation of screen space rectangle to geometry shader