Added margins for small resolutions