Fix view opacity change from preferences window