My Mountain Lion app contains an NSScrollView with an NSTableView using an NSTableViewCell. I wanted the ScrollView to have rounded corners, like Reminders. I found an answer here that said to use:
[listScrollView setWantsLayer:YES];
[listScrollView.layer setCornerRadius:10.0f];
When I first start the app, everything works perfectly. I scroll down the list to view items at the bottom and quit the app. When I restart the app the top of the list is shifted down to match the top of the scroll bar, which remembers where I was scrolled to when I quit. However, scrolling or resizing the window causes the list to draw properly. If I click on one of the list items, it selects the item that should be at that position.