After undocking a ship from a shipyard and removing power capacitors from the ship while in build mode the capacitors are not added to the stack in my action bar, and are lost.
Power capacitors appear to be the only block that is affected, and can be added normally (being removed from the action bar as blocks are added to the ship).
Edit: Thruster modules are also affected.