The margins now update upon resizing the screen. Currently causes some issues with the new UI elements