Fixed remaining compiler errors on panels