Fix flot resize issue with DMS theme. Closes #217