hover effect working on rect