Floating Group appearing outside the screen

I am learning to build a mobile app. My mobile screen size is 360x640.

I am trying to use Floating Group for bottom navigation. But the FG is appearing outside the screen. I dont know why.

There are only 2 options- horizonatally float left or right… both are going outside my app screen.

please help.