Fixed view adding bug