Take another look at the sentence:
Breaking the lamp, a participle phrase, comes right before bed, an illogical target. Eric, not the bed, is the one who is in trouble! [Eric's, a possessive noun, functions as an adjective describing bed.]
Before you continue, review the rules for misplaced and dangling modifiers.