Fixed depth issues with coordinates in normalized device coords