Fixed margin issue for tables and figures.