Fixed a minor bug regarding surface projections