Fixed things like resize. sort of.