Fix can't receive frame with payload size 0