Dougie Hamilton gets a penalty while still in penalty box