Fixed bug causing actions to be displayed when not enough AP to perform it. Actually a reworking of a previous fix.