Made stupid mistake when testing, it worked. Made solution for regular viewport just as bad as the one for viewport 2.0