so, yeah, the movie is definitely portraying him as pervy, but in a way, as you mention, that paints him as
socially unformed and too stupid to know where lines are... which is also shown by his inappropriate nudity and his child - like adoration of Phil.