Hi delete what you’ve done (ie a mask shape whatever) and start again from scratch. Pick up pen tool (top one in the drop down menu, when you left click next to the icon) and start to draw your shape again, but make sure you start off by drawing a diagonal line first and then it lets you draw straight lines in any direction.
If you draw a horizontal line first, it seems to get stuck drawing at right angle only.
Hope this helps