Add support for object-fit and object-position

Fixes #128.