Fixed overlay style regressions.
Forcing borders to be int (to avoid bugs with Raphael calculations).