Fixed the prototype for perspective projection.