Fixed a bug where deleting an category jumped to the top of the window