Changed the postion of context menu to avaliable space