fix for mouse enter problem