Some additional fixes to platform_swaying.