Fix error when calling frame:MakeTop

This error was a result of changes made in commit 1642d10816cc72eaaaea8b7ba04aec4bfd904355