minor refactoring
Fix margin to avoid a 1px transparent gap