Revert "Added NestedFrame logic"

This reverts commit 1690e84f81d8fe4103d21855cbc56cc164c8a992.