The influence of directional spreading on rogue waves triggered by abrupt depth transitions