Using a boat as an example:
Steps:
Spawn a Happy Ghost.
Trap the Happy Ghost with blocks.
Make it fly at a height where its shadow is visible on the ground (not too high).
Tie a boat or other mob below it.
The circular shadow on the ground will show unknown outlines that rotate with your perspective.
Note: This occurs on both mobile (Android) and PC (Windows) versions.
This issue will not be fixed, see MCPE-105396.