Remove getInstance method
Add pt to px conversion on margin-left