Made the sizes resize properly.