Fix popup in order to not override the header