Fixes missing align attribute

See [PR #283](https://github.com/ezsystems/ezpublish-kernel/pull/283)
Additional adjustment to remove unnecessary size attribute check.