Fixed view layout not being centered. Fixes #9