Before add perspective matrix