In case someone finds this question, I want to add here that this problem can be found in newer versions of Primefaces (5.0+) and you can solve it by using appendTo="@this"
in the p:selectOneMenu
. I just found it and solved it in another more recent question.
Related:
SelectOneMenu scrolls with the mouse wheel