Please use [http://jsfiddle.net jsFiddle] or [http://jsbin.com jsbin] to provide test cases instead of pasting large blocks of code in the ticket. If you have a fix, fork the [http://github.com/jquery/jquery-ui repository on GitHub] and send a pull request. Make sure to check out the [http://contribute.jquery.org/code/ guide for writing code for jQuery projects].