Have you tried this method to create a border inside?
Create a new blank layer, just in case. Make sure that layer is selected in the Layers panel.
Select > All
Edit > Stroke, set it to Inside (in this case), 100% Opacity, enter the number of pixels in Width text field, and choose a color.
... View more