Why is my error template rectangle appearing above another control? - MahApps/MahApps.Metro GitHub Wiki
Take a look to this blog post with a nice explanation why this happens.
Solution
Simply wrap your TextBox
(or the complete container) in an AdornerDecorator
.