Fixed the bug with notes view not being properly sized