Initial load resizing bug fixed