fix check for portlet without border