Ensure the Header View is displayed at the correct location

Mainly for system ui visibility changes. Closes #169 and #174.