Dock doesn't return to proper size after closing apps that populate it.
After populating the dock with new applications to the point where it fills the whole screen's length , the dock resizes to a smaller size to make these apps fit the screen but doesn't go back to the original size after closing these apps. I have set 40 px for items size if that matters.