Fix: locked css class was not visible right away