The coastguard was called to an incident at a beach in Bournemouth