Fixes widgets not showing up when the position numbers are same.