Fix some visual bugs on profile

Which I introduced in #759 :grimacing:, as described in the commit messages.