Tessellation fix

Fixed bug from code that should have not been removed that broke
tessellation.