Error Layout Fix if Theme is used