[#521] Fix regexp for calculating top position with useTransform:false