fix in case element is 1px by 1px, should be hidden. No test thought...