Fix problem when entering size without an object selected.