LPS-42205 Add checking for "borderless" portlet, so it can get the actual portlet object.
LPS-42205 SF
LPS-42205 - Source formatting
LPS-42205 - Source formatting