Protruding beams above beds are certainly a Feng Shui challenge. As Chi flows, the apparent beam sends a ‘heavier’ energy along and below where the beam is running.
As illustrated here, the beam would cross roughly around the breast area.
How can you counteract this?
Design a lovely and tasteful canopy so it gives you another ‘ceiling’ above your head.
In addition, having a flat / leveled / arched ceiling above your head will be much more comfortable to sleep and would give you a better health.