- added 'containX' and 'containY' sizing properties to the mix
- also prevented a misbehaviour if a max-width was set on the foreground element