I note there is a pipe clip (circled green below) on the wall for that round waste pipe. If you put the round pipe back in the clip does the end of the pipe end up over the grill again? If so, there is your solution. If not, then you need to replace the bends at the bottom of the pipe . Shouldn't need to cut the grill, but it wont do any harm if you do.