Moved to primefaces 5.0 and fixed the resulting problems