Use options.size instead of  container' size

Use `options.size` value instead of calculating the size from the `el`'s width or height