BUG: funcimg physical space was wrong