Fixed no resize in both directions