Change border 'position' from 'center' to 'inside'. It will help.