Remove margins to enable height detection. Issue: #730