explicitely setting the frame of the current view

This fixes an issue where the frame of the child view controller may be incorrect.