Exchange h:panelGrid to h:panelGroup layout="block".
Choose the floating blocks.