Fix flash partial in application layout