To get the wheel fully and repeatably into the dropouts, hold the bike vertically with the wheel on the ground and press firmly down on the frame. Then secure the quick release. The quick release nut should be adjusted such that the lever takes considerable force to close; it should make a mark on your palm when you swing it closed. Having the wheel in a predictable position will ease further troubleshooting.