Remove the viewport bits.