Fixed bug margin positioning bug