fix for right click behaviour