FACES-1845 ClassCastException thrown when two JSF portlets appear on the same portal page in Liferay Portal 5.2