Fixed an issue where the content view was not created in the correct position