Change the way we calculate depth for perspective