Fixed minor view bugs