Allow pinned element to resize properly