Phase Gun deals damage first, then disperses the shield, should be in reverse order.
Also this part isn't a bug but it has way too low critical damage for an energy pistol, compared to plasma pistol base 120% crit bonus or lemurian blaster 150% bonus