Make sure we have a valid element in utils.transformPoint