Fixes child state top padding on safari and iOS