Fixed a problem with peeked sheet layout.