Fixed error in constructor for Perspective struct