Fix dock hiding