Pakistan were penalised five penalty runs due to the ball dropping onto the discarded wicketkeeper's glove against England.