Remove complicated viewpos logic